<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.11"/>
<title>ShipCAD: ShipCADlib/viewportview.h Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { init_search(); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">ShipCAD
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.11 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li><a href="annotated.html"><span>Classes</span></a></li>
      <li class="current"><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>File&#160;List</span></a></li>
      <li><a href="globals.html"><span>File&#160;Members</span></a></li>
    </ul>
  </div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="dir_f0b6ef187c5b1483641b038f81654ac4.html">ShipCADlib</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="headertitle">
<div class="title">viewportview.h</div>  </div>
</div><!--header-->
<div class="contents">
<a href="viewportview_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160;<span class="comment">/*##############################################################################################</span></div><div class="line"><a name="l00002"></a><span class="lineno">    2</span>&#160;<span class="comment"> *    ShipCAD                                                                                  *</span></div><div class="line"><a name="l00003"></a><span class="lineno">    3</span>&#160;<span class="comment"> *    Copyright 2015, by Greg Green &lt;ggreen@bit-builder.com&gt;                                   *</span></div><div class="line"><a name="l00004"></a><span class="lineno">    4</span>&#160;<span class="comment"> *    Original Copyright header below                                                          *</span></div><div class="line"><a name="l00005"></a><span class="lineno">    5</span>&#160;<span class="comment"> *                                                                                             *</span></div><div class="line"><a name="l00006"></a><span class="lineno">    6</span>&#160;<span class="comment"> *    This code is distributed as part of the FREE!ship project. FREE!ship is an               *</span></div><div class="line"><a name="l00007"></a><span class="lineno">    7</span>&#160;<span class="comment"> *    open source surface-modelling program based on subdivision surfaces and intended for     *</span></div><div class="line"><a name="l00008"></a><span class="lineno">    8</span>&#160;<span class="comment"> *    designing ships.                                                                         *</span></div><div class="line"><a name="l00009"></a><span class="lineno">    9</span>&#160;<span class="comment"> *                                                                                             *</span></div><div class="line"><a name="l00010"></a><span class="lineno">   10</span>&#160;<span class="comment"> *    Copyright © 2005, by Martijn van Engeland                                                *</span></div><div class="line"><a name="l00011"></a><span class="lineno">   11</span>&#160;<span class="comment"> *    e-mail                  : Info@FREEship.org                                              *</span></div><div class="line"><a name="l00012"></a><span class="lineno">   12</span>&#160;<span class="comment"> *    FREE!ship project page  : https://sourceforge.net/projects/freeship                      *</span></div><div class="line"><a name="l00013"></a><span class="lineno">   13</span>&#160;<span class="comment"> *    FREE!ship homepage      : www.FREEship.org                                               *</span></div><div class="line"><a name="l00014"></a><span class="lineno">   14</span>&#160;<span class="comment"> *                                                                                             *</span></div><div class="line"><a name="l00015"></a><span class="lineno">   15</span>&#160;<span class="comment"> *    This program is free software; you can redistribute it and/or modify it under            *</span></div><div class="line"><a name="l00016"></a><span class="lineno">   16</span>&#160;<span class="comment"> *    the terms of the GNU General Public License as published by the                          *</span></div><div class="line"><a name="l00017"></a><span class="lineno">   17</span>&#160;<span class="comment"> *    Free Software Foundation; either version 2 of the License, or (at your option)           *</span></div><div class="line"><a name="l00018"></a><span class="lineno">   18</span>&#160;<span class="comment"> *    any later version.                                                                       *</span></div><div class="line"><a name="l00019"></a><span class="lineno">   19</span>&#160;<span class="comment"> *                                                                                             *</span></div><div class="line"><a name="l00020"></a><span class="lineno">   20</span>&#160;<span class="comment"> *    This program is distributed in the hope that it will be useful, but WITHOUT ANY          *</span></div><div class="line"><a name="l00021"></a><span class="lineno">   21</span>&#160;<span class="comment"> *    WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A          *</span></div><div class="line"><a name="l00022"></a><span class="lineno">   22</span>&#160;<span class="comment"> *    PARTICULAR PURPOSE. See the GNU General Public License for more details.                 *</span></div><div class="line"><a name="l00023"></a><span class="lineno">   23</span>&#160;<span class="comment"> *                                                                                             *</span></div><div class="line"><a name="l00024"></a><span class="lineno">   24</span>&#160;<span class="comment"> *    You should have received a copy of the GNU General Public License along with             *</span></div><div class="line"><a name="l00025"></a><span class="lineno">   25</span>&#160;<span class="comment"> *    this program; if not, write to the Free Software Foundation, Inc.,                       *</span></div><div class="line"><a name="l00026"></a><span class="lineno">   26</span>&#160;<span class="comment"> *    59 Temple Place, Suite 330, Boston, MA 02111-1307 USA                                    *</span></div><div class="line"><a name="l00027"></a><span class="lineno">   27</span>&#160;<span class="comment"> *                                                                                             *</span></div><div class="line"><a name="l00028"></a><span class="lineno">   28</span>&#160;<span class="comment"> *#############################################################################################*/</span></div><div class="line"><a name="l00029"></a><span class="lineno">   29</span>&#160;</div><div class="line"><a name="l00030"></a><span class="lineno">   30</span>&#160;<span class="preprocessor">#ifndef VIEWPORTVIEW_H_</span></div><div class="line"><a name="l00031"></a><span class="lineno">   31</span>&#160;<span class="preprocessor">#define VIEWPORTVIEW_H_</span></div><div class="line"><a name="l00032"></a><span class="lineno">   32</span>&#160;</div><div class="line"><a name="l00033"></a><span class="lineno">   33</span>&#160;<span class="preprocessor">#include &lt;QtCore&gt;</span></div><div class="line"><a name="l00034"></a><span class="lineno">   34</span>&#160;<span class="preprocessor">#include &lt;QtGui&gt;</span></div><div class="line"><a name="l00035"></a><span class="lineno">   35</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="shipcadlib_8h.html">shipcadlib.h</a>&quot;</span></div><div class="line"><a name="l00036"></a><span class="lineno">   36</span>&#160;</div><div class="line"><a name="l00037"></a><span class="lineno">   37</span>&#160;<span class="keyword">namespace </span><a class="code" href="namespaceShipCAD.html">ShipCAD</a> {</div><div class="line"><a name="l00038"></a><span class="lineno">   38</span>&#160;</div><div class="line"><a name="l00039"></a><span class="lineno">   39</span>&#160;<span class="keyword">class </span>Viewport;</div><div class="line"><a name="l00040"></a><span class="lineno">   40</span>&#160;<span class="keyword">struct </span>PickRay;</div><div class="line"><a name="l00041"></a><span class="lineno">   41</span>&#160; </div><div class="line"><a name="l00043"></a><span class="lineno">   43</span>&#160;</div><div class="line"><a name="l00046"></a><span class="lineno"><a class="line" href="classShipCAD_1_1ViewportView.html">   46</a></span>&#160;<span class="keyword">class </span><a class="code" href="classShipCAD_1_1ViewportView.html">ViewportView</a></div><div class="line"><a name="l00047"></a><span class="lineno">   47</span>&#160;{</div><div class="line"><a name="l00048"></a><span class="lineno">   48</span>&#160;<span class="keyword">public</span>:</div><div class="line"><a name="l00049"></a><span class="lineno">   49</span>&#160;    </div><div class="line"><a name="l00050"></a><span class="lineno">   50</span>&#160;    <span class="keyword">explicit</span> <a class="code" href="classShipCAD_1_1ViewportView.html#a725088d3f0e113c97ae52cccab7fce42">ViewportView</a>(<a class="code" href="classShipCAD_1_1Viewport.html">Viewport</a>* vp);</div><div class="line"><a name="l00051"></a><span class="lineno"><a class="line" href="classShipCAD_1_1ViewportView.html#a75f58efbb601f46ea20b70b1370cee1a">   51</a></span>&#160;    <span class="keyword">virtual</span> <a class="code" href="classShipCAD_1_1ViewportView.html#a75f58efbb601f46ea20b70b1370cee1a">~ViewportView</a>() {}</div><div class="line"><a name="l00052"></a><span class="lineno">   52</span>&#160;</div><div class="line"><a name="l00053"></a><span class="lineno">   53</span>&#160;    <span class="keyword">static</span> <a class="code" href="classShipCAD_1_1ViewportView.html">ViewportView</a>* <a class="code" href="classShipCAD_1_1ViewportView.html#aec2ef49c2d2ecf9099dfbf32cd645144">construct</a>(<a class="code" href="namespaceShipCAD.html#aeeeb05810f2e31ef89fd4ac6b6ba9c0a">viewport_type_t</a> ty, <a class="code" href="classShipCAD_1_1Viewport.html">Viewport</a>* vp);</div><div class="line"><a name="l00054"></a><span class="lineno">   54</span>&#160;</div><div class="line"><a name="l00055"></a><span class="lineno">   55</span>&#160;    <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classShipCAD_1_1ViewportView.html#ab70e778772325a67610d983f630c2c3d">resetView</a>();</div><div class="line"><a name="l00056"></a><span class="lineno">   56</span>&#160;    <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classShipCAD_1_1ViewportView.html#ad1c89a6e34b7b3795a7f21e67181dc0f">initializeViewport</a>(<span class="keyword">const</span> QVector3D&amp; min, <span class="keyword">const</span> QVector3D&amp; max, <span class="keywordtype">int</span> width, <span class="keywordtype">int</span> height) = 0;</div><div class="line"><a name="l00057"></a><span class="lineno">   57</span>&#160;</div><div class="line"><a name="l00058"></a><span class="lineno">   58</span>&#160;</div><div class="line"><a name="l00059"></a><span class="lineno"><a class="line" href="classShipCAD_1_1ViewportView.html#a69e218b17f56faac4fb02fec6ac9c5fb">   59</a></span>&#160;    <span class="keywordtype">float</span> <a class="code" href="classShipCAD_1_1ViewportView.html#a69e218b17f56faac4fb02fec6ac9c5fb">getPickDist</a>()<span class="keyword"> const</span></div><div class="line"><a name="l00060"></a><span class="lineno">   60</span>&#160;<span class="keyword">        </span>{ <span class="keywordflow">return</span> <a class="code" href="classShipCAD_1_1ViewportView.html#a001cda888a20319d4d3b29bd9926d5e1">_pickDist</a>;}</div><div class="line"><a name="l00061"></a><span class="lineno"><a class="line" href="classShipCAD_1_1ViewportView.html#a0be1613b2ae2087da00811f2bdb0bd45">   61</a></span>&#160;    <span class="keyword">const</span> QMatrix4x4&amp; <a class="code" href="classShipCAD_1_1ViewportView.html#a0be1613b2ae2087da00811f2bdb0bd45">getWorld</a>()<span class="keyword"> const</span></div><div class="line"><a name="l00062"></a><span class="lineno">   62</span>&#160;<span class="keyword">        </span>{<span class="keywordflow">return</span> <a class="code" href="classShipCAD_1_1ViewportView.html#a1b2d9753e22af2e9a071e60799478905">_world</a>;}</div><div class="line"><a name="l00063"></a><span class="lineno"><a class="line" href="classShipCAD_1_1ViewportView.html#a6bffec9328b29bf40c868f2862daebe0">   63</a></span>&#160;    <span class="keyword">const</span> QMatrix4x4&amp; <a class="code" href="classShipCAD_1_1ViewportView.html#a6bffec9328b29bf40c868f2862daebe0">getWorldInv</a>()<span class="keyword"> const</span></div><div class="line"><a name="l00064"></a><span class="lineno">   64</span>&#160;<span class="keyword">        </span>{<span class="keywordflow">return</span> <a class="code" href="classShipCAD_1_1ViewportView.html#a6b16d2dd6a5c1b812e9fa96dfcadebbb">_worldInv</a>;}</div><div class="line"><a name="l00065"></a><span class="lineno"><a class="line" href="classShipCAD_1_1ViewportView.html#af87bb73f78d5393d013708542eb184ae">   65</a></span>&#160;    <span class="keyword">const</span> QMatrix4x4&amp; <a class="code" href="classShipCAD_1_1ViewportView.html#af87bb73f78d5393d013708542eb184ae">getProj</a>()<span class="keyword"> const</span></div><div class="line"><a name="l00066"></a><span class="lineno">   66</span>&#160;<span class="keyword">        </span>{<span class="keywordflow">return</span> <a class="code" href="classShipCAD_1_1ViewportView.html#abb5933e4e5cbe5c97be2b63164cc8380">_proj</a>;}</div><div class="line"><a name="l00067"></a><span class="lineno"><a class="line" href="classShipCAD_1_1ViewportView.html#a7e3e335818a369e64989f20d7a8dda4f">   67</a></span>&#160;    <span class="keyword">const</span> QMatrix4x4&amp; <a class="code" href="classShipCAD_1_1ViewportView.html#a7e3e335818a369e64989f20d7a8dda4f">getView</a>()<span class="keyword"> const</span></div><div class="line"><a name="l00068"></a><span class="lineno">   68</span>&#160;<span class="keyword">        </span>{<span class="keywordflow">return</span> <a class="code" href="classShipCAD_1_1ViewportView.html#a56588119357f01d0764219252695e9c5">_view</a>;}</div><div class="line"><a name="l00069"></a><span class="lineno"><a class="line" href="classShipCAD_1_1ViewportView.html#a33150e3f757ddbbe045d7d046b4862e5">   69</a></span>&#160;    <span class="keyword">const</span> QVector3D&amp; <a class="code" href="classShipCAD_1_1ViewportView.html#a33150e3f757ddbbe045d7d046b4862e5">getCamera</a>()<span class="keyword"> const</span></div><div class="line"><a name="l00070"></a><span class="lineno">   70</span>&#160;<span class="keyword">        </span>{<span class="keywordflow">return</span> <a class="code" href="classShipCAD_1_1ViewportView.html#ac357a478169de078d3dc3289a15612b1">_camera_location</a>;}</div><div class="line"><a name="l00071"></a><span class="lineno">   71</span>&#160;</div><div class="line"><a name="l00072"></a><span class="lineno">   72</span>&#160;    <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="classShipCAD_1_1ViewportView.html#a4c2e113c5c0e58bb72576a8a802f5a29">leftMousePick</a>(QPoint pos, <span class="keywordtype">int</span> w, <span class="keywordtype">int</span> h, <a class="code" href="structShipCAD_1_1PickRay.html">PickRay</a>&amp; ray);</div><div class="line"><a name="l00073"></a><span class="lineno">   73</span>&#160;    <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="classShipCAD_1_1ViewportView.html#a1e67e403d7307d3828336edbc1ded2f3">rightMousePick</a>(QPoint pos, <span class="keywordtype">int</span> w, <span class="keywordtype">int</span> h);</div><div class="line"><a name="l00074"></a><span class="lineno">   74</span>&#160;    <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="classShipCAD_1_1ViewportView.html#ad74e96e8fef750466b2771f8fc48900a">leftMouseRelease</a>(QPoint pos, <span class="keywordtype">int</span> w, <span class="keywordtype">int</span> h);</div><div class="line"><a name="l00075"></a><span class="lineno">   75</span>&#160;    <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="classShipCAD_1_1ViewportView.html#aaeff27f9b32dc7ee98dbfc14b7eca804">rightMouseRelease</a>(QPoint pos, <span class="keywordtype">int</span> w, <span class="keywordtype">int</span> h);</div><div class="line"><a name="l00076"></a><span class="lineno">   76</span>&#160;    <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="classShipCAD_1_1ViewportView.html#a2dc46f8d032d707308cf853c70bc965a">leftMouseMove</a>(QPoint cur, QPoint prev, <span class="keywordtype">int</span> w, <span class="keywordtype">int</span> h);</div><div class="line"><a name="l00077"></a><span class="lineno">   77</span>&#160;    <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="classShipCAD_1_1ViewportView.html#a44baf7aad8a3ba7ded04395a8765caf9">middleMouseMove</a>(QPoint cur, QPoint prev, <span class="keywordtype">int</span> w, <span class="keywordtype">int</span> h);</div><div class="line"><a name="l00078"></a><span class="lineno">   78</span>&#160;    <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="classShipCAD_1_1ViewportView.html#a537210f7c2872e7b8921341660e85347">rightMouseMove</a>(QPoint cur, QPoint prev, <span class="keywordtype">int</span> w, <span class="keywordtype">int</span> h);</div><div class="line"><a name="l00079"></a><span class="lineno">   79</span>&#160;    <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="classShipCAD_1_1ViewportView.html#a77ce1c6a0216a791ee2ae79dd6674cde">wheelWithDegrees</a>(QPoint degrees, <span class="keywordtype">int</span> w, <span class="keywordtype">int</span> h);</div><div class="line"><a name="l00080"></a><span class="lineno">   80</span>&#160;</div><div class="line"><a name="l00088"></a><span class="lineno">   88</span>&#160;    QPoint <a class="code" href="classShipCAD_1_1ViewportView.html#ac763be6de52b393cb0b9ff4be4c66fcf">convert3D</a>(<span class="keyword">const</span> QVector3D&amp; pt, <span class="keywordtype">int</span> w, <span class="keywordtype">int</span> h) <span class="keyword">const</span>;</div><div class="line"><a name="l00089"></a><span class="lineno">   89</span>&#160;</div><div class="line"><a name="l00096"></a><span class="lineno">   96</span>&#160;    <span class="keyword">virtual</span> QVector2D <a class="code" href="classShipCAD_1_1ViewportView.html#a2bc94791273d6134566a386f2a735e37">projectTo3D</a>(QPoint pos, <span class="keywordtype">int</span> w, <span class="keywordtype">int</span> h) = 0;</div><div class="line"><a name="l00097"></a><span class="lineno">   97</span>&#160;    </div><div class="line"><a name="l00106"></a><span class="lineno">  106</span>&#160;    <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="classShipCAD_1_1ViewportView.html#a6991b6b121b609ec7d18518a8f872859">pointDrag</a>(QPoint pos, <span class="keywordtype">int</span> w, <span class="keywordtype">int</span> h, QVector3D&amp; newcoord);</div><div class="line"><a name="l00107"></a><span class="lineno">  107</span>&#160;    </div><div class="line"><a name="l00115"></a><span class="lineno">  115</span>&#160;    <span class="keyword">virtual</span> <a class="code" href="structShipCAD_1_1PickRay.html">PickRay</a> <a class="code" href="classShipCAD_1_1ViewportView.html#a845fc1fe9fa6ec52726fba1ad350e638">convertMouseCoordToWorld</a>(QPoint pos, <span class="keywordtype">int</span> width, <span class="keywordtype">int</span> height) <span class="keyword">const</span>;</div><div class="line"><a name="l00116"></a><span class="lineno">  116</span>&#160;    </div><div class="line"><a name="l00117"></a><span class="lineno">  117</span>&#160;<span class="keyword">protected</span>:</div><div class="line"><a name="l00118"></a><span class="lineno">  118</span>&#160;</div><div class="line"><a name="l00119"></a><span class="lineno">  119</span>&#160;    <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classShipCAD_1_1ViewportView.html#a15b8dab8f55b9967feeb7b93c234053d">finishSetup</a>();</div><div class="line"><a name="l00120"></a><span class="lineno">  120</span>&#160;    </div><div class="line"><a name="l00121"></a><span class="lineno">  121</span>&#160;<span class="keyword">protected</span>:</div><div class="line"><a name="l00122"></a><span class="lineno">  122</span>&#160;</div><div class="line"><a name="l00123"></a><span class="lineno"><a class="line" href="classShipCAD_1_1ViewportView.html#a9d980ea46c1638d05221dc71e666da04">  123</a></span>&#160;    <a class="code" href="classShipCAD_1_1Viewport.html">Viewport</a>* <a class="code" href="classShipCAD_1_1ViewportView.html#a9d980ea46c1638d05221dc71e666da04">_vp</a>;</div><div class="line"><a name="l00124"></a><span class="lineno"><a class="line" href="classShipCAD_1_1ViewportView.html#a337e90ffddd63535bad9b8de652a455a">  124</a></span>&#160;    <span class="keywordtype">float</span> <a class="code" href="classShipCAD_1_1ViewportView.html#a337e90ffddd63535bad9b8de652a455a">_zoom</a>;            <span class="comment">/* view magnification */</span></div><div class="line"><a name="l00125"></a><span class="lineno"><a class="line" href="classShipCAD_1_1ViewportView.html#a3cccfb1058f0c8f66d662c1f19ed5c33">  125</a></span>&#160;    <span class="keywordtype">float</span> <a class="code" href="classShipCAD_1_1ViewportView.html#a3cccfb1058f0c8f66d662c1f19ed5c33">_panX</a>;</div><div class="line"><a name="l00126"></a><span class="lineno"><a class="line" href="classShipCAD_1_1ViewportView.html#aa2a8062a009ea1a9f26498a103134d3f">  126</a></span>&#160;    <span class="keywordtype">float</span> <a class="code" href="classShipCAD_1_1ViewportView.html#aa2a8062a009ea1a9f26498a103134d3f">_panY</a>;</div><div class="line"><a name="l00127"></a><span class="lineno"><a class="line" href="classShipCAD_1_1ViewportView.html#a808cc636969188f7c04c97902ecbe9d5">  127</a></span>&#160;    <span class="keywordtype">float</span> <a class="code" href="classShipCAD_1_1ViewportView.html#a808cc636969188f7c04c97902ecbe9d5">_scale</a>;</div><div class="line"><a name="l00128"></a><span class="lineno"><a class="line" href="classShipCAD_1_1ViewportView.html#a4cce24be9f8367c04714cd5f091ad637">  128</a></span>&#160;    <span class="keywordtype">float</span> <a class="code" href="classShipCAD_1_1ViewportView.html#a4cce24be9f8367c04714cd5f091ad637">_margin</a>;</div><div class="line"><a name="l00129"></a><span class="lineno"><a class="line" href="classShipCAD_1_1ViewportView.html#a001cda888a20319d4d3b29bd9926d5e1">  129</a></span>&#160;    <span class="keywordtype">float</span> <a class="code" href="classShipCAD_1_1ViewportView.html#a001cda888a20319d4d3b29bd9926d5e1">_pickDist</a>;        <span class="comment">/* world coordinate pick distance, calculated from current view */</span></div><div class="line"><a name="l00130"></a><span class="lineno"><a class="line" href="classShipCAD_1_1ViewportView.html#af4017af3ac64751ce2c5f348d2567657">  130</a></span>&#160;    QVector3D <a class="code" href="classShipCAD_1_1ViewportView.html#af4017af3ac64751ce2c5f348d2567657">_midpoint</a>;    <span class="comment">// middle of model, used as rotation point</span></div><div class="line"><a name="l00131"></a><span class="lineno"><a class="line" href="classShipCAD_1_1ViewportView.html#ac357a478169de078d3dc3289a15612b1">  131</a></span>&#160;    QVector3D <a class="code" href="classShipCAD_1_1ViewportView.html#ac357a478169de078d3dc3289a15612b1">_camera_location</a>;</div><div class="line"><a name="l00132"></a><span class="lineno"><a class="line" href="classShipCAD_1_1ViewportView.html#a1b2d9753e22af2e9a071e60799478905">  132</a></span>&#160;    QMatrix4x4 <a class="code" href="classShipCAD_1_1ViewportView.html#a1b2d9753e22af2e9a071e60799478905">_world</a>;      <span class="comment">// the final view matrix = proj * view</span></div><div class="line"><a name="l00133"></a><span class="lineno"><a class="line" href="classShipCAD_1_1ViewportView.html#a6b16d2dd6a5c1b812e9fa96dfcadebbb">  133</a></span>&#160;    QMatrix4x4 <a class="code" href="classShipCAD_1_1ViewportView.html#a6b16d2dd6a5c1b812e9fa96dfcadebbb">_worldInv</a>;   <span class="comment">// the inverted world matrix</span></div><div class="line"><a name="l00134"></a><span class="lineno"><a class="line" href="classShipCAD_1_1ViewportView.html#a56588119357f01d0764219252695e9c5">  134</a></span>&#160;    QMatrix4x4 <a class="code" href="classShipCAD_1_1ViewportView.html#a56588119357f01d0764219252695e9c5">_view</a>;       <span class="comment">// the view matrix</span></div><div class="line"><a name="l00135"></a><span class="lineno"><a class="line" href="classShipCAD_1_1ViewportView.html#abb5933e4e5cbe5c97be2b63164cc8380">  135</a></span>&#160;    QMatrix4x4 <a class="code" href="classShipCAD_1_1ViewportView.html#abb5933e4e5cbe5c97be2b63164cc8380">_proj</a>;       <span class="comment">// the projection matrix</span></div><div class="line"><a name="l00136"></a><span class="lineno"><a class="line" href="classShipCAD_1_1ViewportView.html#af523ce78903a7c9b9d1c2e5548d8a283">  136</a></span>&#160;    QVector3D <a class="code" href="classShipCAD_1_1ViewportView.html#af523ce78903a7c9b9d1c2e5548d8a283">_max</a>;         <span class="comment">// the max picked for viewport</span></div><div class="line"><a name="l00137"></a><span class="lineno"><a class="line" href="classShipCAD_1_1ViewportView.html#a8d957ad40e793a09f4741200eec4a939">  137</a></span>&#160;    QVector3D <a class="code" href="classShipCAD_1_1ViewportView.html#a8d957ad40e793a09f4741200eec4a939">_min</a>;         <span class="comment">// the min picked for viewport</span></div><div class="line"><a name="l00138"></a><span class="lineno">  138</span>&#160;};</div><div class="line"><a name="l00139"></a><span class="lineno">  139</span>&#160;        </div><div class="line"><a name="l00141"></a><span class="lineno">  141</span>&#160;</div><div class="line"><a name="l00144"></a><span class="lineno"><a class="line" href="classShipCAD_1_1ViewportViewPerspective.html">  144</a></span>&#160;<span class="keyword">class </span><a class="code" href="classShipCAD_1_1ViewportViewPerspective.html">ViewportViewPerspective</a> : <span class="keyword">public</span> <a class="code" href="classShipCAD_1_1ViewportView.html">ViewportView</a></div><div class="line"><a name="l00145"></a><span class="lineno">  145</span>&#160;{</div><div class="line"><a name="l00146"></a><span class="lineno">  146</span>&#160;<span class="keyword">public</span>:</div><div class="line"><a name="l00147"></a><span class="lineno">  147</span>&#160;    </div><div class="line"><a name="l00148"></a><span class="lineno">  148</span>&#160;    <span class="keyword">explicit</span> <a class="code" href="classShipCAD_1_1ViewportViewPerspective.html">ViewportViewPerspective</a>(<a class="code" href="classShipCAD_1_1Viewport.html">Viewport</a>* vp);</div><div class="line"><a name="l00149"></a><span class="lineno"><a class="line" href="classShipCAD_1_1ViewportViewPerspective.html#a3424a48490558e39959161ee9b5da692">  149</a></span>&#160;    <span class="keyword">virtual</span> <a class="code" href="classShipCAD_1_1ViewportViewPerspective.html#a3424a48490558e39959161ee9b5da692">~ViewportViewPerspective</a>() {}</div><div class="line"><a name="l00150"></a><span class="lineno">  150</span>&#160;</div><div class="line"><a name="l00151"></a><span class="lineno">  151</span>&#160;    <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classShipCAD_1_1ViewportView.html#ad1c89a6e34b7b3795a7f21e67181dc0f">initializeViewport</a>(<span class="keyword">const</span> QVector3D&amp; min, <span class="keyword">const</span> QVector3D&amp; max, <span class="keywordtype">int</span> width, <span class="keywordtype">int</span> height);</div><div class="line"><a name="l00152"></a><span class="lineno">  152</span>&#160;    <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classShipCAD_1_1ViewportView.html#ab70e778772325a67610d983f630c2c3d">resetView</a>();</div><div class="line"><a name="l00153"></a><span class="lineno">  153</span>&#160;    </div><div class="line"><a name="l00154"></a><span class="lineno"><a class="line" href="classShipCAD_1_1ViewportViewPerspective.html#a6d48a61a324740874979d599352bef82">  154</a></span>&#160;    <span class="keywordtype">float</span> <a class="code" href="classShipCAD_1_1ViewportViewPerspective.html#a6d48a61a324740874979d599352bef82">getAngle</a>()<span class="keyword"> const</span></div><div class="line"><a name="l00155"></a><span class="lineno">  155</span>&#160;<span class="keyword">        </span>{<span class="keywordflow">return</span> _angle;}</div><div class="line"><a name="l00156"></a><span class="lineno"><a class="line" href="classShipCAD_1_1ViewportViewPerspective.html#ad6d853a15bc9015d43e4c052471f2cb1">  156</a></span>&#160;    <span class="keywordtype">void</span> <a class="code" href="classShipCAD_1_1ViewportViewPerspective.html#ad6d853a15bc9015d43e4c052471f2cb1">setAngle</a>(<span class="keywordtype">float</span> val)</div><div class="line"><a name="l00157"></a><span class="lineno">  157</span>&#160;        {_angle = val;}</div><div class="line"><a name="l00158"></a><span class="lineno"><a class="line" href="classShipCAD_1_1ViewportViewPerspective.html#a4baad3b4ab5a1f3fb7fd2dfa9ac49952">  158</a></span>&#160;    <span class="keywordtype">float</span> <a class="code" href="classShipCAD_1_1ViewportViewPerspective.html#a4baad3b4ab5a1f3fb7fd2dfa9ac49952">getElevation</a>()<span class="keyword"> const</span></div><div class="line"><a name="l00159"></a><span class="lineno">  159</span>&#160;<span class="keyword">        </span>{<span class="keywordflow">return</span> _elevation;}</div><div class="line"><a name="l00160"></a><span class="lineno"><a class="line" href="classShipCAD_1_1ViewportViewPerspective.html#ad09e4532f81905f9ea90545b0b6d4856">  160</a></span>&#160;    <span class="keywordtype">void</span> <a class="code" href="classShipCAD_1_1ViewportViewPerspective.html#ad09e4532f81905f9ea90545b0b6d4856">setElevation</a>(<span class="keywordtype">float</span> val)</div><div class="line"><a name="l00161"></a><span class="lineno">  161</span>&#160;        {_elevation=val;}</div><div class="line"><a name="l00162"></a><span class="lineno"><a class="line" href="classShipCAD_1_1ViewportViewPerspective.html#a76e1128fb2031c44b4d04eecbeace739">  162</a></span>&#160;    <a class="code" href="namespaceShipCAD.html#a58f51ebd2e66de5e41c2ffd6f434241e">camera_type_t</a> <a class="code" href="classShipCAD_1_1ViewportViewPerspective.html#a76e1128fb2031c44b4d04eecbeace739">getCameraType</a>()<span class="keyword"> const</span></div><div class="line"><a name="l00163"></a><span class="lineno">  163</span>&#160;<span class="keyword">        </span>{ <span class="keywordflow">return</span> _camera; }</div><div class="line"><a name="l00164"></a><span class="lineno">  164</span>&#160;    <span class="keywordtype">void</span> setCameraType(<a class="code" href="namespaceShipCAD.html#a58f51ebd2e66de5e41c2ffd6f434241e">camera_type_t</a> val);</div><div class="line"><a name="l00165"></a><span class="lineno">  165</span>&#160;</div><div class="line"><a name="l00166"></a><span class="lineno">  166</span>&#160;    <span class="keyword">virtual</span> QVector2D <a class="code" href="classShipCAD_1_1ViewportView.html#a2bc94791273d6134566a386f2a735e37">projectTo3D</a>(QPoint pos, <span class="keywordtype">int</span> w, <span class="keywordtype">int</span> h);</div><div class="line"><a name="l00167"></a><span class="lineno">  167</span>&#160;    <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="classShipCAD_1_1ViewportView.html#a44baf7aad8a3ba7ded04395a8765caf9">middleMouseMove</a>(QPoint cur, QPoint prev, <span class="keywordtype">int</span> w, <span class="keywordtype">int</span> h);</div><div class="line"><a name="l00168"></a><span class="lineno">  168</span>&#160;    <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="classShipCAD_1_1ViewportView.html#a2dc46f8d032d707308cf853c70bc965a">leftMouseMove</a>(QPoint cur, QPoint prev, <span class="keywordtype">int</span> w, <span class="keywordtype">int</span> h);</div><div class="line"><a name="l00169"></a><span class="lineno">  169</span>&#160;</div><div class="line"><a name="l00170"></a><span class="lineno">  170</span>&#160;<span class="keyword">private</span>:</div><div class="line"><a name="l00171"></a><span class="lineno">  171</span>&#160;</div><div class="line"><a name="l00172"></a><span class="lineno">  172</span>&#160;    <span class="keywordtype">float</span> _panZ;</div><div class="line"><a name="l00173"></a><span class="lineno">  173</span>&#160;    <a class="code" href="namespaceShipCAD.html#a58f51ebd2e66de5e41c2ffd6f434241e">camera_type_t</a> _camera;</div><div class="line"><a name="l00174"></a><span class="lineno">  174</span>&#160;    <span class="keywordtype">float</span> _field_of_view;   <span class="comment">/* vertical field of view in radians */</span></div><div class="line"><a name="l00175"></a><span class="lineno">  175</span>&#160;    <span class="keywordtype">float</span> _angle;           <span class="comment">/* view angle */</span></div><div class="line"><a name="l00176"></a><span class="lineno">  176</span>&#160;    <span class="keywordtype">float</span> _elevation;       <span class="comment">/* view angle */</span></div><div class="line"><a name="l00177"></a><span class="lineno">  177</span>&#160;    <span class="keywordtype">float</span> _distance;</div><div class="line"><a name="l00178"></a><span class="lineno">  178</span>&#160;};</div><div class="line"><a name="l00179"></a><span class="lineno">  179</span>&#160;        </div><div class="line"><a name="l00181"></a><span class="lineno">  181</span>&#160;</div><div class="line"><a name="l00184"></a><span class="lineno"><a class="line" href="classShipCAD_1_1ViewportViewPlan.html">  184</a></span>&#160;<span class="keyword">class </span><a class="code" href="classShipCAD_1_1ViewportViewPlan.html">ViewportViewPlan</a> : <span class="keyword">public</span> <a class="code" href="classShipCAD_1_1ViewportView.html">ViewportView</a></div><div class="line"><a name="l00185"></a><span class="lineno">  185</span>&#160;{</div><div class="line"><a name="l00186"></a><span class="lineno">  186</span>&#160;<span class="keyword">public</span>:</div><div class="line"><a name="l00187"></a><span class="lineno">  187</span>&#160;    </div><div class="line"><a name="l00188"></a><span class="lineno">  188</span>&#160;    <span class="keyword">explicit</span> <a class="code" href="classShipCAD_1_1ViewportViewPlan.html">ViewportViewPlan</a>(<a class="code" href="classShipCAD_1_1Viewport.html">Viewport</a>* vp);</div><div class="line"><a name="l00189"></a><span class="lineno"><a class="line" href="classShipCAD_1_1ViewportViewPlan.html#aa00e0a2e6845f8c1382ab834879c2bfd">  189</a></span>&#160;    <span class="keyword">virtual</span> <a class="code" href="classShipCAD_1_1ViewportViewPlan.html#aa00e0a2e6845f8c1382ab834879c2bfd">~ViewportViewPlan</a>() {}</div><div class="line"><a name="l00190"></a><span class="lineno">  190</span>&#160;</div><div class="line"><a name="l00191"></a><span class="lineno">  191</span>&#160;    <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classShipCAD_1_1ViewportView.html#ad1c89a6e34b7b3795a7f21e67181dc0f">initializeViewport</a>(<span class="keyword">const</span> QVector3D&amp; min, <span class="keyword">const</span> QVector3D&amp; max, <span class="keywordtype">int</span> width, <span class="keywordtype">int</span> height);</div><div class="line"><a name="l00192"></a><span class="lineno">  192</span>&#160;    <span class="keyword">virtual</span> QVector2D <a class="code" href="classShipCAD_1_1ViewportView.html#a2bc94791273d6134566a386f2a735e37">projectTo3D</a>(QPoint pos, <span class="keywordtype">int</span> w, <span class="keywordtype">int</span> h);</div><div class="line"><a name="l00193"></a><span class="lineno">  193</span>&#160;    <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="classShipCAD_1_1ViewportView.html#a537210f7c2872e7b8921341660e85347">rightMouseMove</a>(QPoint cur, QPoint prev, <span class="keywordtype">int</span> w, <span class="keywordtype">int</span> h);</div><div class="line"><a name="l00194"></a><span class="lineno">  194</span>&#160;    <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="classShipCAD_1_1ViewportView.html#a6991b6b121b609ec7d18518a8f872859">pointDrag</a>(QPoint pos, <span class="keywordtype">int</span> w, <span class="keywordtype">int</span> h, QVector3D&amp; newcoord);</div><div class="line"><a name="l00195"></a><span class="lineno">  195</span>&#160;</div><div class="line"><a name="l00196"></a><span class="lineno">  196</span>&#160;<span class="keyword">private</span>:</div><div class="line"><a name="l00197"></a><span class="lineno">  197</span>&#160;        </div><div class="line"><a name="l00198"></a><span class="lineno">  198</span>&#160;};</div><div class="line"><a name="l00199"></a><span class="lineno">  199</span>&#160;        </div><div class="line"><a name="l00201"></a><span class="lineno">  201</span>&#160;</div><div class="line"><a name="l00204"></a><span class="lineno"><a class="line" href="classShipCAD_1_1ViewportViewProfile.html">  204</a></span>&#160;<span class="keyword">class </span><a class="code" href="classShipCAD_1_1ViewportViewProfile.html">ViewportViewProfile</a> : <span class="keyword">public</span> <a class="code" href="classShipCAD_1_1ViewportView.html">ViewportView</a></div><div class="line"><a name="l00205"></a><span class="lineno">  205</span>&#160;{</div><div class="line"><a name="l00206"></a><span class="lineno">  206</span>&#160;<span class="keyword">public</span>:</div><div class="line"><a name="l00207"></a><span class="lineno">  207</span>&#160;    </div><div class="line"><a name="l00208"></a><span class="lineno">  208</span>&#160;    <span class="keyword">explicit</span> <a class="code" href="classShipCAD_1_1ViewportViewProfile.html">ViewportViewProfile</a>(<a class="code" href="classShipCAD_1_1Viewport.html">Viewport</a>* vp);</div><div class="line"><a name="l00209"></a><span class="lineno"><a class="line" href="classShipCAD_1_1ViewportViewProfile.html#a1c3101fa8a458cf3908cd865349ace08">  209</a></span>&#160;    <span class="keyword">virtual</span> <a class="code" href="classShipCAD_1_1ViewportViewProfile.html#a1c3101fa8a458cf3908cd865349ace08">~ViewportViewProfile</a>() {}</div><div class="line"><a name="l00210"></a><span class="lineno">  210</span>&#160;</div><div class="line"><a name="l00211"></a><span class="lineno">  211</span>&#160;    <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classShipCAD_1_1ViewportView.html#ad1c89a6e34b7b3795a7f21e67181dc0f">initializeViewport</a>(<span class="keyword">const</span> QVector3D&amp; min, <span class="keyword">const</span> QVector3D&amp; max, <span class="keywordtype">int</span> width, <span class="keywordtype">int</span> height);</div><div class="line"><a name="l00212"></a><span class="lineno">  212</span>&#160;    <span class="keyword">virtual</span> QVector2D <a class="code" href="classShipCAD_1_1ViewportView.html#a2bc94791273d6134566a386f2a735e37">projectTo3D</a>(QPoint pos, <span class="keywordtype">int</span> w, <span class="keywordtype">int</span> h);</div><div class="line"><a name="l00213"></a><span class="lineno">  213</span>&#160;    <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="classShipCAD_1_1ViewportView.html#a537210f7c2872e7b8921341660e85347">rightMouseMove</a>(QPoint cur, QPoint prev, <span class="keywordtype">int</span> w, <span class="keywordtype">int</span> h);</div><div class="line"><a name="l00214"></a><span class="lineno">  214</span>&#160;    <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="classShipCAD_1_1ViewportView.html#a6991b6b121b609ec7d18518a8f872859">pointDrag</a>(QPoint pos, <span class="keywordtype">int</span> w, <span class="keywordtype">int</span> h, QVector3D&amp; newcoord);</div><div class="line"><a name="l00215"></a><span class="lineno">  215</span>&#160;</div><div class="line"><a name="l00216"></a><span class="lineno">  216</span>&#160;<span class="keyword">private</span>:</div><div class="line"><a name="l00217"></a><span class="lineno">  217</span>&#160;        </div><div class="line"><a name="l00218"></a><span class="lineno">  218</span>&#160;};</div><div class="line"><a name="l00219"></a><span class="lineno">  219</span>&#160;        </div><div class="line"><a name="l00221"></a><span class="lineno">  221</span>&#160;</div><div class="line"><a name="l00224"></a><span class="lineno"><a class="line" href="classShipCAD_1_1ViewportViewBodyplan.html">  224</a></span>&#160;<span class="keyword">class </span><a class="code" href="classShipCAD_1_1ViewportViewBodyplan.html">ViewportViewBodyplan</a> : <span class="keyword">public</span> <a class="code" href="classShipCAD_1_1ViewportView.html">ViewportView</a></div><div class="line"><a name="l00225"></a><span class="lineno">  225</span>&#160;{</div><div class="line"><a name="l00226"></a><span class="lineno">  226</span>&#160;<span class="keyword">public</span>:</div><div class="line"><a name="l00227"></a><span class="lineno">  227</span>&#160;    </div><div class="line"><a name="l00228"></a><span class="lineno">  228</span>&#160;    <span class="keyword">explicit</span> <a class="code" href="classShipCAD_1_1ViewportViewBodyplan.html">ViewportViewBodyplan</a>(<a class="code" href="classShipCAD_1_1Viewport.html">Viewport</a>* vp);</div><div class="line"><a name="l00229"></a><span class="lineno"><a class="line" href="classShipCAD_1_1ViewportViewBodyplan.html#a0e5644ebc58b2b6ca144c3c1e81c826e">  229</a></span>&#160;    <span class="keyword">virtual</span> <a class="code" href="classShipCAD_1_1ViewportViewBodyplan.html#a0e5644ebc58b2b6ca144c3c1e81c826e">~ViewportViewBodyplan</a>() {}</div><div class="line"><a name="l00230"></a><span class="lineno">  230</span>&#160;</div><div class="line"><a name="l00231"></a><span class="lineno">  231</span>&#160;    <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classShipCAD_1_1ViewportView.html#ad1c89a6e34b7b3795a7f21e67181dc0f">initializeViewport</a>(<span class="keyword">const</span> QVector3D&amp; min, <span class="keyword">const</span> QVector3D&amp; max, <span class="keywordtype">int</span> width, <span class="keywordtype">int</span> height);</div><div class="line"><a name="l00232"></a><span class="lineno">  232</span>&#160;    <span class="keyword">virtual</span> QVector2D <a class="code" href="classShipCAD_1_1ViewportView.html#a2bc94791273d6134566a386f2a735e37">projectTo3D</a>(QPoint pos, <span class="keywordtype">int</span> w, <span class="keywordtype">int</span> h);</div><div class="line"><a name="l00233"></a><span class="lineno">  233</span>&#160;    <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="classShipCAD_1_1ViewportView.html#a537210f7c2872e7b8921341660e85347">rightMouseMove</a>(QPoint cur, QPoint prev, <span class="keywordtype">int</span> w, <span class="keywordtype">int</span> h);</div><div class="line"><a name="l00234"></a><span class="lineno">  234</span>&#160;    <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="classShipCAD_1_1ViewportView.html#a6991b6b121b609ec7d18518a8f872859">pointDrag</a>(QPoint pos, <span class="keywordtype">int</span> w, <span class="keywordtype">int</span> h, QVector3D&amp; newcoord);</div><div class="line"><a name="l00235"></a><span class="lineno">  235</span>&#160;</div><div class="line"><a name="l00236"></a><span class="lineno">  236</span>&#160;<span class="keyword">private</span>:</div><div class="line"><a name="l00237"></a><span class="lineno">  237</span>&#160;        </div><div class="line"><a name="l00238"></a><span class="lineno">  238</span>&#160;};</div><div class="line"><a name="l00239"></a><span class="lineno">  239</span>&#160;        </div><div class="line"><a name="l00241"></a><span class="lineno">  241</span>&#160;</div><div class="line"><a name="l00242"></a><span class="lineno">  242</span>&#160;};              <span class="comment">/* end namespace */</span></div><div class="line"><a name="l00243"></a><span class="lineno">  243</span>&#160;</div><div class="line"><a name="l00244"></a><span class="lineno">  244</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00245"></a><span class="lineno">  245</span>&#160;</div><div class="ttc" id="classShipCAD_1_1ViewportView_html_a6b16d2dd6a5c1b812e9fa96dfcadebbb"><div class="ttname"><a href="classShipCAD_1_1ViewportView.html#a6b16d2dd6a5c1b812e9fa96dfcadebbb">ShipCAD::ViewportView::_worldInv</a></div><div class="ttdeci">QMatrix4x4 _worldInv</div><div class="ttdef"><b>Definition:</b> <a href="viewportview_8h_source.html#l00133">viewportview.h:133</a></div></div>
<div class="ttc" id="classShipCAD_1_1ViewportView_html_a001cda888a20319d4d3b29bd9926d5e1"><div class="ttname"><a href="classShipCAD_1_1ViewportView.html#a001cda888a20319d4d3b29bd9926d5e1">ShipCAD::ViewportView::_pickDist</a></div><div class="ttdeci">float _pickDist</div><div class="ttdef"><b>Definition:</b> <a href="viewportview_8h_source.html#l00129">viewportview.h:129</a></div></div>
<div class="ttc" id="classShipCAD_1_1ViewportViewPerspective_html_a76e1128fb2031c44b4d04eecbeace739"><div class="ttname"><a href="classShipCAD_1_1ViewportViewPerspective.html#a76e1128fb2031c44b4d04eecbeace739">ShipCAD::ViewportViewPerspective::getCameraType</a></div><div class="ttdeci">camera_type_t getCameraType() const </div><div class="ttdef"><b>Definition:</b> <a href="viewportview_8h_source.html#l00162">viewportview.h:162</a></div></div>
<div class="ttc" id="classShipCAD_1_1ViewportViewBodyplan_html_a0e5644ebc58b2b6ca144c3c1e81c826e"><div class="ttname"><a href="classShipCAD_1_1ViewportViewBodyplan.html#a0e5644ebc58b2b6ca144c3c1e81c826e">ShipCAD::ViewportViewBodyplan::~ViewportViewBodyplan</a></div><div class="ttdeci">virtual ~ViewportViewBodyplan()</div><div class="ttdef"><b>Definition:</b> <a href="viewportview_8h_source.html#l00229">viewportview.h:229</a></div></div>
<div class="ttc" id="classShipCAD_1_1ViewportView_html_ad1c89a6e34b7b3795a7f21e67181dc0f"><div class="ttname"><a href="classShipCAD_1_1ViewportView.html#ad1c89a6e34b7b3795a7f21e67181dc0f">ShipCAD::ViewportView::initializeViewport</a></div><div class="ttdeci">virtual void initializeViewport(const QVector3D &amp;min, const QVector3D &amp;max, int width, int height)=0</div></div>
<div class="ttc" id="classShipCAD_1_1ViewportView_html_ad74e96e8fef750466b2771f8fc48900a"><div class="ttname"><a href="classShipCAD_1_1ViewportView.html#ad74e96e8fef750466b2771f8fc48900a">ShipCAD::ViewportView::leftMouseRelease</a></div><div class="ttdeci">virtual bool leftMouseRelease(QPoint pos, int w, int h)</div><div class="ttdef"><b>Definition:</b> <a href="viewportview_8cpp_source.html#l00108">viewportview.cpp:108</a></div></div>
<div class="ttc" id="shipcadlib_8h_html"><div class="ttname"><a href="shipcadlib_8h.html">shipcadlib.h</a></div></div>
<div class="ttc" id="classShipCAD_1_1ViewportView_html_a2dc46f8d032d707308cf853c70bc965a"><div class="ttname"><a href="classShipCAD_1_1ViewportView.html#a2dc46f8d032d707308cf853c70bc965a">ShipCAD::ViewportView::leftMouseMove</a></div><div class="ttdeci">virtual bool leftMouseMove(QPoint cur, QPoint prev, int w, int h)</div><div class="ttdef"><b>Definition:</b> <a href="viewportview_8cpp_source.html#l00125">viewportview.cpp:125</a></div></div>
<div class="ttc" id="classShipCAD_1_1ViewportView_html_a1e67e403d7307d3828336edbc1ded2f3"><div class="ttname"><a href="classShipCAD_1_1ViewportView.html#a1e67e403d7307d3828336edbc1ded2f3">ShipCAD::ViewportView::rightMousePick</a></div><div class="ttdeci">virtual bool rightMousePick(QPoint pos, int w, int h)</div><div class="ttdef"><b>Definition:</b> <a href="viewportview_8cpp_source.html#l00103">viewportview.cpp:103</a></div></div>
<div class="ttc" id="classShipCAD_1_1ViewportView_html_a4c2e113c5c0e58bb72576a8a802f5a29"><div class="ttname"><a href="classShipCAD_1_1ViewportView.html#a4c2e113c5c0e58bb72576a8a802f5a29">ShipCAD::ViewportView::leftMousePick</a></div><div class="ttdeci">virtual bool leftMousePick(QPoint pos, int w, int h, PickRay &amp;ray)</div><div class="ttdef"><b>Definition:</b> <a href="viewportview_8cpp_source.html#l00092">viewportview.cpp:92</a></div></div>
<div class="ttc" id="classShipCAD_1_1ViewportView_html_a337e90ffddd63535bad9b8de652a455a"><div class="ttname"><a href="classShipCAD_1_1ViewportView.html#a337e90ffddd63535bad9b8de652a455a">ShipCAD::ViewportView::_zoom</a></div><div class="ttdeci">float _zoom</div><div class="ttdef"><b>Definition:</b> <a href="viewportview_8h_source.html#l00124">viewportview.h:124</a></div></div>
<div class="ttc" id="classShipCAD_1_1ViewportView_html_a75f58efbb601f46ea20b70b1370cee1a"><div class="ttname"><a href="classShipCAD_1_1ViewportView.html#a75f58efbb601f46ea20b70b1370cee1a">ShipCAD::ViewportView::~ViewportView</a></div><div class="ttdeci">virtual ~ViewportView()</div><div class="ttdef"><b>Definition:</b> <a href="viewportview_8h_source.html#l00051">viewportview.h:51</a></div></div>
<div class="ttc" id="classShipCAD_1_1ViewportView_html_a69e218b17f56faac4fb02fec6ac9c5fb"><div class="ttname"><a href="classShipCAD_1_1ViewportView.html#a69e218b17f56faac4fb02fec6ac9c5fb">ShipCAD::ViewportView::getPickDist</a></div><div class="ttdeci">float getPickDist() const </div><div class="ttdef"><b>Definition:</b> <a href="viewportview_8h_source.html#l00059">viewportview.h:59</a></div></div>
<div class="ttc" id="classShipCAD_1_1ViewportView_html_a15b8dab8f55b9967feeb7b93c234053d"><div class="ttname"><a href="classShipCAD_1_1ViewportView.html#a15b8dab8f55b9967feeb7b93c234053d">ShipCAD::ViewportView::finishSetup</a></div><div class="ttdeci">virtual void finishSetup()</div><div class="ttdef"><b>Definition:</b> <a href="viewportview_8cpp_source.html#l00066">viewportview.cpp:66</a></div></div>
<div class="ttc" id="classShipCAD_1_1ViewportViewPlan_html_aa00e0a2e6845f8c1382ab834879c2bfd"><div class="ttname"><a href="classShipCAD_1_1ViewportViewPlan.html#aa00e0a2e6845f8c1382ab834879c2bfd">ShipCAD::ViewportViewPlan::~ViewportViewPlan</a></div><div class="ttdeci">virtual ~ViewportViewPlan()</div><div class="ttdef"><b>Definition:</b> <a href="viewportview_8h_source.html#l00189">viewportview.h:189</a></div></div>
<div class="ttc" id="classShipCAD_1_1ViewportView_html_af4017af3ac64751ce2c5f348d2567657"><div class="ttname"><a href="classShipCAD_1_1ViewportView.html#af4017af3ac64751ce2c5f348d2567657">ShipCAD::ViewportView::_midpoint</a></div><div class="ttdeci">QVector3D _midpoint</div><div class="ttdef"><b>Definition:</b> <a href="viewportview_8h_source.html#l00130">viewportview.h:130</a></div></div>
<div class="ttc" id="classShipCAD_1_1ViewportView_html_a9d980ea46c1638d05221dc71e666da04"><div class="ttname"><a href="classShipCAD_1_1ViewportView.html#a9d980ea46c1638d05221dc71e666da04">ShipCAD::ViewportView::_vp</a></div><div class="ttdeci">Viewport * _vp</div><div class="ttdef"><b>Definition:</b> <a href="viewportview_8h_source.html#l00123">viewportview.h:123</a></div></div>
<div class="ttc" id="classShipCAD_1_1ViewportView_html_a3cccfb1058f0c8f66d662c1f19ed5c33"><div class="ttname"><a href="classShipCAD_1_1ViewportView.html#a3cccfb1058f0c8f66d662c1f19ed5c33">ShipCAD::ViewportView::_panX</a></div><div class="ttdeci">float _panX</div><div class="ttdef"><b>Definition:</b> <a href="viewportview_8h_source.html#l00125">viewportview.h:125</a></div></div>
<div class="ttc" id="classShipCAD_1_1ViewportView_html_aa2a8062a009ea1a9f26498a103134d3f"><div class="ttname"><a href="classShipCAD_1_1ViewportView.html#aa2a8062a009ea1a9f26498a103134d3f">ShipCAD::ViewportView::_panY</a></div><div class="ttdeci">float _panY</div><div class="ttdef"><b>Definition:</b> <a href="viewportview_8h_source.html#l00126">viewportview.h:126</a></div></div>
<div class="ttc" id="classShipCAD_1_1ViewportView_html_ab70e778772325a67610d983f630c2c3d"><div class="ttname"><a href="classShipCAD_1_1ViewportView.html#ab70e778772325a67610d983f630c2c3d">ShipCAD::ViewportView::resetView</a></div><div class="ttdeci">virtual void resetView()</div><div class="ttdef"><b>Definition:</b> <a href="viewportview_8cpp_source.html#l00078">viewportview.cpp:78</a></div></div>
<div class="ttc" id="classShipCAD_1_1ViewportViewBodyplan_html"><div class="ttname"><a href="classShipCAD_1_1ViewportViewBodyplan.html">ShipCAD::ViewportViewBodyplan</a></div><div class="ttdoc">class to calculate view, world matrices and operations using those for a Bodyplan viewport ...</div><div class="ttdef"><b>Definition:</b> <a href="viewportview_8h_source.html#l00224">viewportview.h:224</a></div></div>
<div class="ttc" id="classShipCAD_1_1Viewport_html"><div class="ttname"><a href="classShipCAD_1_1Viewport.html">ShipCAD::Viewport</a></div><div class="ttdef"><b>Definition:</b> <a href="viewport_8h_source.html#l00070">viewport.h:70</a></div></div>
<div class="ttc" id="classShipCAD_1_1ViewportView_html_a44baf7aad8a3ba7ded04395a8765caf9"><div class="ttname"><a href="classShipCAD_1_1ViewportView.html#a44baf7aad8a3ba7ded04395a8765caf9">ShipCAD::ViewportView::middleMouseMove</a></div><div class="ttdeci">virtual bool middleMouseMove(QPoint cur, QPoint prev, int w, int h)</div><div class="ttdef"><b>Definition:</b> <a href="viewportview_8cpp_source.html#l00120">viewportview.cpp:120</a></div></div>
<div class="ttc" id="classShipCAD_1_1ViewportView_html_a7e3e335818a369e64989f20d7a8dda4f"><div class="ttname"><a href="classShipCAD_1_1ViewportView.html#a7e3e335818a369e64989f20d7a8dda4f">ShipCAD::ViewportView::getView</a></div><div class="ttdeci">const QMatrix4x4 &amp; getView() const </div><div class="ttdef"><b>Definition:</b> <a href="viewportview_8h_source.html#l00067">viewportview.h:67</a></div></div>
<div class="ttc" id="structShipCAD_1_1PickRay_html"><div class="ttname"><a href="structShipCAD_1_1PickRay.html">ShipCAD::PickRay</a></div><div class="ttdoc">a pick ray (line) </div><div class="ttdef"><b>Definition:</b> <a href="shipcadlib_8h_source.html#l00171">shipcadlib.h:171</a></div></div>
<div class="ttc" id="classShipCAD_1_1ViewportView_html_aec2ef49c2d2ecf9099dfbf32cd645144"><div class="ttname"><a href="classShipCAD_1_1ViewportView.html#aec2ef49c2d2ecf9099dfbf32cd645144">ShipCAD::ViewportView::construct</a></div><div class="ttdeci">static ViewportView * construct(viewport_type_t ty, Viewport *vp)</div><div class="ttdef"><b>Definition:</b> <a href="viewportview_8cpp_source.html#l00052">viewportview.cpp:52</a></div></div>
<div class="ttc" id="namespaceShipCAD_html_a58f51ebd2e66de5e41c2ffd6f434241e"><div class="ttname"><a href="namespaceShipCAD.html#a58f51ebd2e66de5e41c2ffd6f434241e">ShipCAD::camera_type_t</a></div><div class="ttdeci">camera_type_t</div><div class="ttdef"><b>Definition:</b> <a href="shipcadlib_8h_source.html#l00077">shipcadlib.h:77</a></div></div>
<div class="ttc" id="classShipCAD_1_1ViewportView_html_a808cc636969188f7c04c97902ecbe9d5"><div class="ttname"><a href="classShipCAD_1_1ViewportView.html#a808cc636969188f7c04c97902ecbe9d5">ShipCAD::ViewportView::_scale</a></div><div class="ttdeci">float _scale</div><div class="ttdef"><b>Definition:</b> <a href="viewportview_8h_source.html#l00127">viewportview.h:127</a></div></div>
<div class="ttc" id="classShipCAD_1_1ViewportViewPerspective_html_a6d48a61a324740874979d599352bef82"><div class="ttname"><a href="classShipCAD_1_1ViewportViewPerspective.html#a6d48a61a324740874979d599352bef82">ShipCAD::ViewportViewPerspective::getAngle</a></div><div class="ttdeci">float getAngle() const </div><div class="ttdef"><b>Definition:</b> <a href="viewportview_8h_source.html#l00154">viewportview.h:154</a></div></div>
<div class="ttc" id="classShipCAD_1_1ViewportView_html_a8d957ad40e793a09f4741200eec4a939"><div class="ttname"><a href="classShipCAD_1_1ViewportView.html#a8d957ad40e793a09f4741200eec4a939">ShipCAD::ViewportView::_min</a></div><div class="ttdeci">QVector3D _min</div><div class="ttdef"><b>Definition:</b> <a href="viewportview_8h_source.html#l00137">viewportview.h:137</a></div></div>
<div class="ttc" id="classShipCAD_1_1ViewportView_html_a1b2d9753e22af2e9a071e60799478905"><div class="ttname"><a href="classShipCAD_1_1ViewportView.html#a1b2d9753e22af2e9a071e60799478905">ShipCAD::ViewportView::_world</a></div><div class="ttdeci">QMatrix4x4 _world</div><div class="ttdef"><b>Definition:</b> <a href="viewportview_8h_source.html#l00132">viewportview.h:132</a></div></div>
<div class="ttc" id="classShipCAD_1_1ViewportView_html"><div class="ttname"><a href="classShipCAD_1_1ViewportView.html">ShipCAD::ViewportView</a></div><div class="ttdoc">Viewport matrices. </div><div class="ttdef"><b>Definition:</b> <a href="viewportview_8h_source.html#l00046">viewportview.h:46</a></div></div>
<div class="ttc" id="namespaceShipCAD_html_aeeeb05810f2e31ef89fd4ac6b6ba9c0a"><div class="ttname"><a href="namespaceShipCAD.html#aeeeb05810f2e31ef89fd4ac6b6ba9c0a">ShipCAD::viewport_type_t</a></div><div class="ttdeci">viewport_type_t</div><div class="ttdef"><b>Definition:</b> <a href="shipcadlib_8h_source.html#l00070">shipcadlib.h:70</a></div></div>
<div class="ttc" id="classShipCAD_1_1ViewportView_html_a0be1613b2ae2087da00811f2bdb0bd45"><div class="ttname"><a href="classShipCAD_1_1ViewportView.html#a0be1613b2ae2087da00811f2bdb0bd45">ShipCAD::ViewportView::getWorld</a></div><div class="ttdeci">const QMatrix4x4 &amp; getWorld() const </div><div class="ttdef"><b>Definition:</b> <a href="viewportview_8h_source.html#l00061">viewportview.h:61</a></div></div>
<div class="ttc" id="classShipCAD_1_1ViewportView_html_ac763be6de52b393cb0b9ff4be4c66fcf"><div class="ttname"><a href="classShipCAD_1_1ViewportView.html#ac763be6de52b393cb0b9ff4be4c66fcf">ShipCAD::ViewportView::convert3D</a></div><div class="ttdeci">QPoint convert3D(const QVector3D &amp;pt, int w, int h) const </div><div class="ttdoc">convert a 3D point to viewport 2d coordinates </div><div class="ttdef"><b>Definition:</b> <a href="viewportview_8cpp_source.html#l00086">viewportview.cpp:86</a></div></div>
<div class="ttc" id="classShipCAD_1_1ViewportView_html_a537210f7c2872e7b8921341660e85347"><div class="ttname"><a href="classShipCAD_1_1ViewportView.html#a537210f7c2872e7b8921341660e85347">ShipCAD::ViewportView::rightMouseMove</a></div><div class="ttdeci">virtual bool rightMouseMove(QPoint cur, QPoint prev, int w, int h)</div><div class="ttdef"><b>Definition:</b> <a href="viewportview_8cpp_source.html#l00130">viewportview.cpp:130</a></div></div>
<div class="ttc" id="classShipCAD_1_1ViewportView_html_ac357a478169de078d3dc3289a15612b1"><div class="ttname"><a href="classShipCAD_1_1ViewportView.html#ac357a478169de078d3dc3289a15612b1">ShipCAD::ViewportView::_camera_location</a></div><div class="ttdeci">QVector3D _camera_location</div><div class="ttdef"><b>Definition:</b> <a href="viewportview_8h_source.html#l00131">viewportview.h:131</a></div></div>
<div class="ttc" id="classShipCAD_1_1ViewportView_html_a845fc1fe9fa6ec52726fba1ad350e638"><div class="ttname"><a href="classShipCAD_1_1ViewportView.html#a845fc1fe9fa6ec52726fba1ad350e638">ShipCAD::ViewportView::convertMouseCoordToWorld</a></div><div class="ttdeci">virtual PickRay convertMouseCoordToWorld(QPoint pos, int width, int height) const </div><div class="ttdoc">given mouse coordinates, find a pick ray for this view </div><div class="ttdef"><b>Definition:</b> <a href="viewportview_8cpp_source.html#l00154">viewportview.cpp:154</a></div></div>
<div class="ttc" id="classShipCAD_1_1ViewportViewPerspective_html_ad6d853a15bc9015d43e4c052471f2cb1"><div class="ttname"><a href="classShipCAD_1_1ViewportViewPerspective.html#ad6d853a15bc9015d43e4c052471f2cb1">ShipCAD::ViewportViewPerspective::setAngle</a></div><div class="ttdeci">void setAngle(float val)</div><div class="ttdef"><b>Definition:</b> <a href="viewportview_8h_source.html#l00156">viewportview.h:156</a></div></div>
<div class="ttc" id="classShipCAD_1_1ViewportView_html_af87bb73f78d5393d013708542eb184ae"><div class="ttname"><a href="classShipCAD_1_1ViewportView.html#af87bb73f78d5393d013708542eb184ae">ShipCAD::ViewportView::getProj</a></div><div class="ttdeci">const QMatrix4x4 &amp; getProj() const </div><div class="ttdef"><b>Definition:</b> <a href="viewportview_8h_source.html#l00065">viewportview.h:65</a></div></div>
<div class="ttc" id="classShipCAD_1_1ViewportViewPlan_html"><div class="ttname"><a href="classShipCAD_1_1ViewportViewPlan.html">ShipCAD::ViewportViewPlan</a></div><div class="ttdoc">calculate view, world matrices and operations for a Plan viewport </div><div class="ttdef"><b>Definition:</b> <a href="viewportview_8h_source.html#l00184">viewportview.h:184</a></div></div>
<div class="ttc" id="classShipCAD_1_1ViewportViewPerspective_html_ad09e4532f81905f9ea90545b0b6d4856"><div class="ttname"><a href="classShipCAD_1_1ViewportViewPerspective.html#ad09e4532f81905f9ea90545b0b6d4856">ShipCAD::ViewportViewPerspective::setElevation</a></div><div class="ttdeci">void setElevation(float val)</div><div class="ttdef"><b>Definition:</b> <a href="viewportview_8h_source.html#l00160">viewportview.h:160</a></div></div>
<div class="ttc" id="classShipCAD_1_1ViewportView_html_a6991b6b121b609ec7d18518a8f872859"><div class="ttname"><a href="classShipCAD_1_1ViewportView.html#a6991b6b121b609ec7d18518a8f872859">ShipCAD::ViewportView::pointDrag</a></div><div class="ttdeci">virtual bool pointDrag(QPoint pos, int w, int h, QVector3D &amp;newcoord)</div><div class="ttdoc">drag a point in the viewport </div><div class="ttdef"><b>Definition:</b> <a href="viewportview_8cpp_source.html#l00149">viewportview.cpp:149</a></div></div>
<div class="ttc" id="classShipCAD_1_1ViewportViewPerspective_html_a3424a48490558e39959161ee9b5da692"><div class="ttname"><a href="classShipCAD_1_1ViewportViewPerspective.html#a3424a48490558e39959161ee9b5da692">ShipCAD::ViewportViewPerspective::~ViewportViewPerspective</a></div><div class="ttdeci">virtual ~ViewportViewPerspective()</div><div class="ttdef"><b>Definition:</b> <a href="viewportview_8h_source.html#l00149">viewportview.h:149</a></div></div>
<div class="ttc" id="classShipCAD_1_1ViewportViewPerspective_html"><div class="ttname"><a href="classShipCAD_1_1ViewportViewPerspective.html">ShipCAD::ViewportViewPerspective</a></div><div class="ttdoc">calculate view, world matrices and operations for a Perspective viewport </div><div class="ttdef"><b>Definition:</b> <a href="viewportview_8h_source.html#l00144">viewportview.h:144</a></div></div>
<div class="ttc" id="classShipCAD_1_1ViewportView_html_a2bc94791273d6134566a386f2a735e37"><div class="ttname"><a href="classShipCAD_1_1ViewportView.html#a2bc94791273d6134566a386f2a735e37">ShipCAD::ViewportView::projectTo3D</a></div><div class="ttdeci">virtual QVector2D projectTo3D(QPoint pos, int w, int h)=0</div><div class="ttdoc">convert screen coordinates to 2D world coordinates </div></div>
<div class="ttc" id="classShipCAD_1_1ViewportView_html_abb5933e4e5cbe5c97be2b63164cc8380"><div class="ttname"><a href="classShipCAD_1_1ViewportView.html#abb5933e4e5cbe5c97be2b63164cc8380">ShipCAD::ViewportView::_proj</a></div><div class="ttdeci">QMatrix4x4 _proj</div><div class="ttdef"><b>Definition:</b> <a href="viewportview_8h_source.html#l00135">viewportview.h:135</a></div></div>
<div class="ttc" id="classShipCAD_1_1ViewportViewPerspective_html_a4baad3b4ab5a1f3fb7fd2dfa9ac49952"><div class="ttname"><a href="classShipCAD_1_1ViewportViewPerspective.html#a4baad3b4ab5a1f3fb7fd2dfa9ac49952">ShipCAD::ViewportViewPerspective::getElevation</a></div><div class="ttdeci">float getElevation() const </div><div class="ttdef"><b>Definition:</b> <a href="viewportview_8h_source.html#l00158">viewportview.h:158</a></div></div>
<div class="ttc" id="classShipCAD_1_1ViewportView_html_a6bffec9328b29bf40c868f2862daebe0"><div class="ttname"><a href="classShipCAD_1_1ViewportView.html#a6bffec9328b29bf40c868f2862daebe0">ShipCAD::ViewportView::getWorldInv</a></div><div class="ttdeci">const QMatrix4x4 &amp; getWorldInv() const </div><div class="ttdef"><b>Definition:</b> <a href="viewportview_8h_source.html#l00063">viewportview.h:63</a></div></div>
<div class="ttc" id="classShipCAD_1_1ViewportView_html_a33150e3f757ddbbe045d7d046b4862e5"><div class="ttname"><a href="classShipCAD_1_1ViewportView.html#a33150e3f757ddbbe045d7d046b4862e5">ShipCAD::ViewportView::getCamera</a></div><div class="ttdeci">const QVector3D &amp; getCamera() const </div><div class="ttdef"><b>Definition:</b> <a href="viewportview_8h_source.html#l00069">viewportview.h:69</a></div></div>
<div class="ttc" id="namespaceShipCAD_html"><div class="ttname"><a href="namespaceShipCAD.html">ShipCAD</a></div><div class="ttdef"><b>Definition:</b> <a href="backgroundimage_8h_source.html#l00039">backgroundimage.h:39</a></div></div>
<div class="ttc" id="classShipCAD_1_1ViewportView_html_a56588119357f01d0764219252695e9c5"><div class="ttname"><a href="classShipCAD_1_1ViewportView.html#a56588119357f01d0764219252695e9c5">ShipCAD::ViewportView::_view</a></div><div class="ttdeci">QMatrix4x4 _view</div><div class="ttdef"><b>Definition:</b> <a href="viewportview_8h_source.html#l00134">viewportview.h:134</a></div></div>
<div class="ttc" id="classShipCAD_1_1ViewportView_html_a725088d3f0e113c97ae52cccab7fce42"><div class="ttname"><a href="classShipCAD_1_1ViewportView.html#a725088d3f0e113c97ae52cccab7fce42">ShipCAD::ViewportView::ViewportView</a></div><div class="ttdeci">ViewportView(Viewport *vp)</div><div class="ttdef"><b>Definition:</b> <a href="viewportview_8cpp_source.html#l00045">viewportview.cpp:45</a></div></div>
<div class="ttc" id="classShipCAD_1_1ViewportViewProfile_html_a1c3101fa8a458cf3908cd865349ace08"><div class="ttname"><a href="classShipCAD_1_1ViewportViewProfile.html#a1c3101fa8a458cf3908cd865349ace08">ShipCAD::ViewportViewProfile::~ViewportViewProfile</a></div><div class="ttdeci">virtual ~ViewportViewProfile()</div><div class="ttdef"><b>Definition:</b> <a href="viewportview_8h_source.html#l00209">viewportview.h:209</a></div></div>
<div class="ttc" id="classShipCAD_1_1ViewportView_html_a4cce24be9f8367c04714cd5f091ad637"><div class="ttname"><a href="classShipCAD_1_1ViewportView.html#a4cce24be9f8367c04714cd5f091ad637">ShipCAD::ViewportView::_margin</a></div><div class="ttdeci">float _margin</div><div class="ttdef"><b>Definition:</b> <a href="viewportview_8h_source.html#l00128">viewportview.h:128</a></div></div>
<div class="ttc" id="classShipCAD_1_1ViewportView_html_aaeff27f9b32dc7ee98dbfc14b7eca804"><div class="ttname"><a href="classShipCAD_1_1ViewportView.html#aaeff27f9b32dc7ee98dbfc14b7eca804">ShipCAD::ViewportView::rightMouseRelease</a></div><div class="ttdeci">virtual bool rightMouseRelease(QPoint pos, int w, int h)</div><div class="ttdef"><b>Definition:</b> <a href="viewportview_8cpp_source.html#l00114">viewportview.cpp:114</a></div></div>
<div class="ttc" id="classShipCAD_1_1ViewportView_html_a77ce1c6a0216a791ee2ae79dd6674cde"><div class="ttname"><a href="classShipCAD_1_1ViewportView.html#a77ce1c6a0216a791ee2ae79dd6674cde">ShipCAD::ViewportView::wheelWithDegrees</a></div><div class="ttdeci">virtual bool wheelWithDegrees(QPoint degrees, int w, int h)</div><div class="ttdef"><b>Definition:</b> <a href="viewportview_8cpp_source.html#l00135">viewportview.cpp:135</a></div></div>
<div class="ttc" id="classShipCAD_1_1ViewportView_html_af523ce78903a7c9b9d1c2e5548d8a283"><div class="ttname"><a href="classShipCAD_1_1ViewportView.html#af523ce78903a7c9b9d1c2e5548d8a283">ShipCAD::ViewportView::_max</a></div><div class="ttdeci">QVector3D _max</div><div class="ttdef"><b>Definition:</b> <a href="viewportview_8h_source.html#l00136">viewportview.h:136</a></div></div>
<div class="ttc" id="classShipCAD_1_1ViewportViewProfile_html"><div class="ttname"><a href="classShipCAD_1_1ViewportViewProfile.html">ShipCAD::ViewportViewProfile</a></div><div class="ttdoc">calculate view, world matrices and operations for a Profile viewport </div><div class="ttdef"><b>Definition:</b> <a href="viewportview_8h_source.html#l00204">viewportview.h:204</a></div></div>
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Sun Feb 25 2018 15:36:00 for ShipCAD by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.11
</small></address>
</body>
</html>
